<template>
	<view>
		<!-- 选择时间 -->
		<view class="conttitle main" style="cursor: pointer;">
			<view style="height: 100%;">
				<view style="margin-top: 10px;" class="name"><span>剑魂</span><span>本人</span></view>
				<view style="margin-top: 20px;" class="phone">622*********0909</view>
			</view>
			<view style="margin-top: 20px;" class="mor">
				默认就诊人
			</view>
		</view>
		<view class="timeselect main flex ali">
			<view class="tisl">
				近一年
			</view>
			<view class="tisr jus ali">
				<view class="">
					选择时间
				</view>
				<view class="arrow">
					<img src="@/static/san.png" alt="" style="width: 10px;height: 10px;vertical-align: middle;margin-left: 3px;">
				</view>
			</view>
		</view>
		<view class="historylist main">
			<view class="historybody">
				<view class="historytitle flex">
					<text class="title">2021年10月5日</text>
					<view class="typeview ali jus">
						<text class="type">门诊病历</text>
					</view>
				</view>
				<view class="historyform">
					<view class="row ali">
						<view class="rowtitle">
							<text>医生</text>
						</view>
						<view class="">
							<text>王然</text>
						</view>
					</view>
					<view class="row ali">
						<view class="rowtitle">
							<text>就诊人</text>
						</view>
						<view class="">
							<text>将峰</text>
						</view>
					</view>
					<view class="row ali">
						<view class="rowtitle">
							<text>诊断</text>
						</view>
						<view class="">
							<text>消化道溃疡</text>
						</view>
					</view>
				</view>
				<view class="btn right ali jus" @click="tocase">
					查看病例
				</view>
				<view class="clear">

				</view>
			</view>
		</view>
	</view>
</template>
<script>
	export default{
		methods:{
			tocase(){
				uni.navigateTo({
					url:'/query/page/reportdetail/reportdetail'
				})
			}
		},onLoad(opction) {
			console.log(opction);
		}
	}
</script>
<style>
	.main {
		width: 90%;
		margin: 0 auto;
	}

	.izpimg img {
		width: 10px;
		height: 10px;
		margin-right: 30px;
	}

	.server1 {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		color: #757575;
		height: 56px;
		line-height: 56px;
		border-bottom: 1px solid rgba(242, 242, 242, 1);
		font-size: 15px;
	}

	.conttitle {
		background-color: #f5f9ff;
		height: 180rpx;
		display: flex;
		font-weight: 200;
		border: 1px solid #f2f2f2;
		padding: 20px 10px;
		justify-content: space-between;
		margin-top: 15px;
		box-sizing: border-box;
	}

	.mor {
		font-family: 'PingFangSC-Light', 'PingFang SC Light', 'PingFang SC', sans-serif;
		font-weight: 200;
		font-style: normal;
		font-size: 12px;
	}

	.phone {
		font-weight: 200;
		font-style: normal;
		font-size: 12px;
		color: #AAAAAA;
	}

	.name span:nth-child(1) {
		font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
		font-weight: 400;
		font-style: normal;
		font-size: 15px;
		color: #555555;
	}

	.name span:nth-child(2) {
		margin-left: 5px;
		font-size: 12px;
		display: inline-block;
		width: 44px;
		height: 18px;
		padding: 2px;
		background-color: #e2edfe;
		text-align: center;
		line-height: 18px;
		border-radius: 10px;
		letter-spacing: 1px;
		color: #006EFF;
	}

	.flex {
		display: flex;
	}

	.jus {
		display: flex;
		justify-content: center;
	}

	.ali {
		display: flex;
		align-items: center;
	}

	.timeselect {
		margin: 30rpx auto;
	}

	.tisl {
		font-weight: 200;
		color: rgb(0, 110, 255);
		text-align: left;
		line-height: 18px;
		width: 128rpx;
		height: 48rpx;
		line-height: 48rpx;
		background-color: rgb(0, 110, 255);
		border-radius: 48rpx;
		font-family: PingFangSC-Thin, "PingFang SC Thin", "PingFang SC", sans-serif;
		font-size: 24rpx;
		text-align: center;
		color: rgb(255, 255, 255);
	}

	.tisr {
		margin-left: 20rpx;
		width: 90px;
		height: 24px;
		border-radius: 24px;
		background-color: rgba(0, 110, 255, 0.098);
		font-family: PingFangSC-Thin, "PingFang SC Thin", "PingFang SC", sans-serif;
		font-weight: 200;
		font-style: normal;
		font-size: 24rpx;
		color: rgb(0, 110, 255);
		line-height: 18px;
	}

	.historybody {
		border: 4rpx solid #f2f2f2;
		/* background-color: #f8f8f8; */
		padding: 0 16rpx;
	}

	.historytitle {
		font-family: PingFangSC-Medium, "PingFang SC Medium", "PingFang SC", sans-serif;
		font-weight: 500;
		font-size: 30rpx;
		color: rgb(85, 85, 85);
		padding: 16rpx;
	}

	.typeview {
		width: 144rpx;
		height: 40rpx;
		line-height: 40rpx;
		text-align: center;
		border-radius: 15rpx;
		background-color: rgba(3, 202, 130, 0.2);
		margin-left: auto;
	}

	.type {
		font-family: PingFangHK-Medium, "PingFang HK Medium", "PingFang HK", sans-serif;
		font-weight: 500;
		font-style: normal;
		font-size: 12px;
		letter-spacing: 1px;
		color: rgb(3, 202, 130);
		line-height: 18px;
	}

	.historyform {
		border: 2rpx solid #f2f2f2;
		/* padding: 16rpx; */
	}

	.row {
		font-size: 22rpx;
		padding: 16rpx;
	}

	.rowtitle {
		width: 100rpx;
		color: #AAAAAA;
	}

	.right {
		float: right;
	}

	.btn {
		border-radius: 4px;
		width: 80px;
		height: 32px;
		background-color: rgba(0, 110, 255, 1);
		font-family: 'PingFangHK-Medium', 'PingFang HK Medium', 'PingFang HK', sans-serif;
		font-weight: 500;
		font-size: 12px;
		color: #FFFFFF;
		margin: 10px;

	}

	.clear {
		clear: both;
	}
</style>